<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .one{
            background-color: red;
            height: 300px;
            width: 500px;
            border: 1px solid blue;
            margin-left: 1600px;
        }
    </style>
</head>
<body>
    <div  class="one"></div>
    <script>
 setInterval(() => {
    alert()
 }, 2000);
    </script>
</body>
</html>